package component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public abstract class FastFood {

    private float price;
    private String desc;

    public float cost(){
        return getPrice();
    }

}
